package com.junqson.je.admin.client;

import com.junqson.je.common.model.ApiResult;
import com.junqson.je.common.model.dto.AuthResultDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Descriptions 用户服务客户端
 * @Company
 * @Author Junqson
 * @Date 2020/2/3 13:04
 * @Version 1.0
 */
@FeignClient("je-user")
public interface UserClient {
    @PostMapping("/authResultCallback")
    ApiResult authResultCallback(@RequestBody AuthResultDTO resultDTO);
}
